package com.gs.xbinfomytest.entity;

import com.gitee.hengboy.mybatis.enhance.common.annotation.Column;
import com.gitee.hengboy.mybatis.enhance.common.annotation.Id;
import com.gitee.hengboy.mybatis.enhance.common.annotation.Table;
import com.gitee.hengboy.mybatis.enhance.common.enums.KeyGeneratorTypeEnum;
import lombok.Data;
import java.io.Serializable;

import java.sql.Timestamp;

/**
 * 系统访问记录
 * @author ApiBoot Mybatis Enhance Codegen
 */
@Data
@Table(name = "sys_logininfor")
public class SysLogininfor implements java.io.Serializable {

    /**
     * 访问ID
     */
    @Id(generatorType = KeyGeneratorTypeEnum.AUTO)
    @Column(name = "info_id")
    private Long infoId;
    /**
     * 登录账号
     */
    @Column(name = "login_name")
    private String loginName;
    /**
     * 登录IP地址
     */
    @Column(name = "ipaddr")
    private String ipaddr;
    /**
     * 登录地点
     */
    @Column(name = "login_location")
    private String loginLocation;
    /**
     * 浏览器类型
     */
    @Column(name = "browser")
    private String browser;
    /**
     * 操作系统
     */
    @Column(name = "os")
    private String os;
    /**
     * 登录状态（0成功 1失败）
     */
    @Column(name = "status")
    private String status = "0";
    /**
     * 提示消息
     */
    @Column(name = "msg")
    private String msg;
    /**
     * 访问时间
     */
    @Column(name = "login_time")
    private Timestamp loginTime;
}

